<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<span th:include="head.html :: h"/>

-----  [[${world}]] <br/>
--<div th:text="${world}"></div><br/>---
<input th:value="${world}"/>--<br/>
<div th:each="l,s : ${list}">
    <span th:text="${s.count}"/>:<span th:text="${s.index}"/>:<span th:text="${l}"/>:
    <span th:text="${s.size}"/>:<span th:text="${s.current}"/>:<span th:text="${s.odd}"/>
</div><br/>
<div th:if="${userInfo.getName() == '小小猪'}">它就是小小猪</div>
<div th:if="${userInfo.name != '小小猪'}">它就不是小小猪</div>
<div th:text="(${userInfo.name} == '小小猪')?'是猪':'不是猪'"></div>
<div th:unless="${userInfo.name == '小小猪111'}">它就不是小小猪1111</div>
<div th:text="${session.sessionValue}"/>
<span th:include="head.html :: r"/><br/>
<div th:utext="${gname}"/>
</body>
</html>